﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CookComputing.XmlRpc;

namespace JeanFish.Blog.XmlRpc
{
    /// <summary>
    /// 表示博文格式返回结果。
    /// </summary>
    public class PostFormat
    {
        /// <summary>
        /// 标准
        /// </summary>
        [XmlRpcMember("standard", Description = "标准")]
        public const string Standard = "Standard";
        /// <summary>
        /// 旁白
        /// </summary>
        [XmlRpcMember("aside", Description = "旁白")]
        public const string Aside = "Aside";
        /// <summary>
        /// 图片
        /// </summary>
        [XmlRpcMember("image", Description = "图片")]
        public const string Image = "Image";
        /// <summary>
        /// 聊天
        /// </summary>
        [XmlRpcMember("chat", Description = "聊天")]
        public const string Chat = "Chat";
        /// <summary>
        /// 画廊
        /// </summary>
        [XmlRpcMember("gallery", Description = "画廊")]
        public const string Gallery = "Gallery";
        /// <summary>
        /// 链接
        /// </summary>
        [XmlRpcMember("link", Description = "链接")]
        public const string Link = "Link";
        /// <summary>
        /// 引用
        /// </summary>
        [XmlRpcMember("quote", Description = "引用")]
        public const string Quote = "Quote";
        /// <summary>
        /// 状态
        /// </summary>
        [XmlRpcMember("status", Description = "状态")]
        public const string Status = "Status";
        /// <summary>
        /// 视频
        /// </summary>
        [XmlRpcMember("video", Description = "视频")]
        public const string Video = "Video";
        /// <summary>
        /// 表示所有格式。
        /// </summary>
        [XmlRpcMember("all",Description="表示所有格式。")]
        public PostFormat[] All { get; set; }
        /// <summary>
        /// 表示支持的格式。
        /// </summary>
        [XmlRpcMember("supported", Description = "表示支持的格式。")]
        public PostFormat[] Supported { get; set; }
    }
}
